package com.zlfund.cat.zjgsmk.util.filepick;

import java.io.File;

/**
 * Created by chenj on 2017/9/26 0026.
 */

public class MemorySizeFilter implements IFileFilterService {

    private static final long MIN_FILE_MEMORY_SIZE = 100 * 1024;

    @Override
    public boolean filterFile(File file) {
        if (file.length() < MIN_FILE_MEMORY_SIZE) {
            return true;
        }
        return false;
    }
}
